#include "head.h"
#include "menu.h"

ret_fun led_yesorno(uchar arg)
{
    if(arg == 0)
    {
        P0=0XF0;
    }else
    {
        P0=0XFF;
    }
    return OK;
}

ret_fun led_CTRL()
{
    static uchar state =0;
    if(state == 0){
        P0 = 0XFE;
        state = 1;
    }else
    {
        P0 = 0XFF;
        state = 0;
    }
    return OK;
}